package lvxu.bean;

public class Song {
    private Integer userid;

    private Integer musicid;

    private Integer state;
    private Music music;
    public Music getMusic() {
        return music;
    }

    public void setMusic(Music music) {
        this.music = music;
    }


    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getMusicid() {
        return musicid;
    }

    public void setMusicid(Integer musicid) {
        this.musicid = musicid;
    }

    public Integer getState() {
        return state;
    }

    public Song() {
    }

    @Override
    public String toString() {
        return "Song{" +
                "userid=" + userid +
                ", musicid=" + musicid +
                ", state=" + state +
                '}';
    }

    public Song(Integer userid, Integer musicid, Integer state) {
        this.userid = userid;
        this.musicid = musicid;
        this.state = state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}